package com.qianying.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@TableName("customer_info")
@Schema(name = "OrderResponseTime", description = "订单响应时间实体类，存储订单响应相关时间信息")
public class OrderResponseTime {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键ID，自增", example = "1")
    private Integer id;

    @Schema(description = "节点名称，标识订单处理的具体环节", example = "接单节点")
    private String nodeName;

    @Schema(description = "加急订单的响应时间（单位：分钟）", example = "30")
    private Integer expeditedOrder;

    @Schema(description = "普通订单的响应时间（单位：分钟）", example = "60")
    private Integer normalOrder;

    @Schema(description = "客户ID，关联对应的客户信息", example = "1001")
    private Integer customerId;

    @Schema(description = "记录创建时间", example = "2025-08-02 10:30:00")
    private Date createTime;
}